package com.pope945.popup;

import   javax.swing.*;   
import   java.awt.*;   
import   java.awt.Dimension;   
import   java.awt.Toolkit;   
  
public   class   Test   extends   JFrame   {   
    
    public   static   void   main(String[]   args)   {   
        Test   test   =   new   Test();   
        Dimension   screensize=Toolkit.getDefaultToolkit().getScreenSize();   
        test.setSize(200,200);     
        test.setVisible(true);   
        for(int   i=0;i<230;i++){   
            test.setLocation((int)screensize.getWidth()-test.getWidth(),   (int)screensize.getHeight()-i);   
        }   
    }   
}
